Website requires redirecting to home page [URL/home] rather than base [URL]
Hi all,
I'm having trouble getting my website to direct to my base url, lets for example say my website is www.example.co.uk, if I go here I get the error reffering to a 'Cannot view @Renderbody()' etc which I assume is the whole master template thing that Umbraco requires. My home page is located www.example.co.uk/home.
Any idea how I can get my Umbraco website to view www.example.co.uk as my /home?
Sorry I haven't used WebMatrix to edit an Umbraco site. I always use Visual Studio. You might want to have a look at the Hybrid Framework. In this video I explain some of the features and how to install it: https://www.youtube.com/watch?v=Enni9r0whCE
Website requires redirecting to home page [URL/home] rather than base [URL]
Hi all,
I'm having trouble getting my website to direct to my base url, lets for example say my website is www.example.co.uk, if I go here I get the error reffering to a 'Cannot view @Renderbody()' etc which I assume is the whole master template thing that Umbraco requires. My home page is located www.example.co.uk/home.
Any idea how I can get my Umbraco website to view www.example.co.uk as my /home?
Thanks,
Jon
Hello,
This blogpost is a bit old, but it still works: https://cultiv.nl/blog/tip-of-the-week-the-ultimate-site-structure-setup/.
I made a little improvement to it in this blogpost: http://24days.in/umbraco/2014/urlprovider-and-contentfinder/
Jeroen
Hey thanks Jeroen!
Your a big help! How do I look at the source/C# code to edit this? I'm currently using WebMatrix to create and edit the Umbraco site.
Thanks,
Jon
Hello,
Sorry I haven't used WebMatrix to edit an Umbraco site. I always use Visual Studio. You might want to have a look at the Hybrid Framework. In this video I explain some of the features and how to install it: https://www.youtube.com/watch?v=Enni9r0whCE
Jeroen
Ah got it. I used the redirect code in the config file that you linked me to: https://cultiv.nl/blog/tip-of-the-week-the-ultimate-site-structure-setup/
Thanks a lot!
Jon
Glad I could help. Can you please mark a post as the solution.
Jeroen
is working on a reply...